package rs.daolao.syc.admin.account.pojo.param;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import rs.dalao.syc.common.validation.BaseRules;
import rs.dalao.syc.common.validation.account.UserRules;

import javax.validation.constraints.*;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 添加用户的参数类
 *
 * @author java@tedu.cn
 * @version 2.0
 */
@Data
public class UserAddNewParam implements Serializable, UserRules {
    private String userName;
    private String password;
    private Integer enable;
    private String phone;
    private String avatar;
    private Long role;
}
